package com.firwood.annotation;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AnnotationTest {
	@Test
	public void test01(){
		//
		String xmlPath = "com/firwood/annotation/beans.xml";
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext(xmlPath);
		User user = applicationContext.getBean("UserId", User.class);
		user.save();
	}
}
